package com.dsmbase.corp.project.web;

import java.util.Date;
import java.util.List;

public class ProjectForm {
	
	private int id;
	private int flowId;
	private String name;
	private int userId;
	private int currentNodeId;
	private String projectId;
	private String version;
	private Date startTime;
	private Date endTime;
	private String comment;
	
	public ProjectForm() {}
	
	public ProjectForm(int flowId, String name, String projectId,
			String version, Date startTime, Date endTime) {
		super();
		this.flowId = flowId;
		this.name = name;
		this.projectId = projectId;
		this.version = version;
		this.startTime = startTime;
		this.endTime = endTime;
	}
	public int getCurrentNodeId() {
		return currentNodeId;
	}
	public void setCurrentNodeId(int currentNodeId) {
		this.currentNodeId = currentNodeId;
	}
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	private List<ProjectNodeForm> nodeList;
	
	public int getFlowId() {
		return flowId;
	}
	public void setFlowId(int flowId) {
		this.flowId = flowId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public List<ProjectNodeForm> getNodeList() {
		return nodeList;
	}
	public void setNodeList(List<ProjectNodeForm> nodeList) {
		this.nodeList = nodeList;
	}
	
}
